home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / qemm.80c / technote.qip / QEMMUTIL.TEC < prev    next >
Text File  |  1995-11-04  |  14KB  |  322 lines

  1.  
  2.                          QEMM Utilities
  3.  
  4.  Quarterdeck Technical Note #294             Filename: QEMMUTIL.TEC
  5.  by Quarterdeck Documentation              CompuServe: QUTIL.TEC
  6.  Last Revised: 04/05/95                      Category: QEMM
  7.  
  8.  Subject: A discussion of the utilities that come with QEMM.
  9.  
  10.  
  11.  Utility Programs
  12.  ----------------
  13.  
  14.  This technical note describes several miscellaneous utility
  15.  programs included with QEMM. The programs described herein let you
  16.  load device drivers before QEMM, load device drivers from the DOS
  17.  prompt, ensure that Microsoft Windows runs properly with QEMM if
  18.  you install Windows after QEMM, fix certain problems that occur on
  19.  some Toshiba laptop PCs, fix problems that may occur if you are
  20.  running LAN WorkPlace for DOS and fix bootup problems that occur
  21.  with some Ultra Stor disk controllers.  Read this document if any
  22.  of these topics concern you.
  23.  
  24.  
  25.  DEVICE.COM: Loading Device Drivers from the DOS Prompt
  26.  ------------------------------------------------------
  27.  
  28.  DEVICE.COM is a program you can use to load certain device drivers
  29.  from the DOS prompt instead of from CONFIG.SYS. DEVICE.COM will
  30.  load character device drivers (e.g., a mouse driver, ANSI.SYS),
  31.  but not block device drivers (e.g., drivers for disk compressors,
  32.  RAM disks or CD ROM drives). In general, a block device is one
  33.  that will be assigned a drive letter (e.g., E:, H:). You may want
  34.  to use DEVICE.COM for the following reasons:
  35.  
  36.  - To load a device driver in a DESQview or DESQview/X window, or
  37.    in a Microsoft Windows DOS window. For example, if you have a
  38.    program that requires ANSI.SYS, you can load ANSI.SYS in that
  39.    program's window without imposing ANSI's overhead on all your
  40.    other windows.
  41.  
  42.  - To load a device driver from the DOS prompt when you need it.
  43.  
  44.  - To load a device driver in AUTOEXEC.BAT to help QEMM's Optimize
  45.    program do a more efficient job of loading programs into upper
  46.    memory. Occasionally a driver in CONFIG.SYS uses enough upper
  47.    memory that there is not enough left to load a subsequent driver
  48.    or TSR. In this case, you can try using DEVICE.COM to load the
  49.    device driver in AUTOEXEC.BAT after the later driver or TSR has
  50.    been loaded. This method is especially worth trying if Optimize
  51.    is unable to load a very large TSR or driver into upper memory,
  52.    after loading a preceding driver into upper memory.
  53.  
  54.  The syntax for DEVICE.COM is:
  55.  
  56.      DEVICE device_driver_pathname
  57.  
  58.  For example, to load ANSI.SYS from the DOS prompt you would type:
  59.  
  60.      DEVICE C:\DOS\ANSI.SYS.
  61.  
  62.  
  63.  FIXINT13.SYS
  64.  ------------
  65.  
  66.  FIXINT13.SYS prevents certain problems that can happen when the
  67.  CONFIG.SYS file is being executed and problems occur on the DOS
  68.  stack. FIXINT13's job is to switch away from the DOS stack and on
  69.  to its own stack in conventional memory when a BIOS disk call
  70.  occurs while the CONFIG.SYS file is being processed. If you give
  71.  FIXINT13 the /STACKSIZE=xxxx parameter, you can also change the
  72.  size of FIXINT13's stack, to prevent stack overruns. The default
  73.  size of the FIXINT13 stack is 256 bytes; xxxx can be any value
  74.  between 128 and 1024.
  75.  
  76.  FIXINT13 is needed with some UltraStor disk controllers to prevent
  77.  "Device not found" errors during the boot process. FIXINT13 with
  78.  the /STACKSIZE=384 parameter also prevents "Configuration too
  79.  large for memory" errors or crashes in the CONFIG.SYS file on some
  80.  systems with Adaptec 1542c controllers.
  81.  
  82.  If you think you need FIXINT13.SYS, load it in the CONFIG.SYS
  83.  file, immediately before the QEMM386.SYS line (and after
  84.  DOSDATA.SYS and any other programs loaded before QEMM386.SYS). For
  85.  example:
  86.  
  87.      DEVICE=C:\QEMM\FIXINT13.SYS
  88.  
  89.      or
  90.  
  91.      DEVICE=C:\QEMM\FIXINT13.SYS /STACKSIZE=384 
  92.  
  93.  
  94.  HOOKROM.SYS: Loading Device Drivers before QEMM
  95.  -----------------------------------------------
  96.  
  97.  HOOKROM.SYS is a device driver that allows you to load other
  98.  device drivers before QEMM in your CONFIG.SYS file. You may need
  99.  HOOKROM.SYS if you need to load a device driver before QEMM386.SYS
  100.  and you are using QEMM's Stealth ROM feature (i.e., you have the
  101.  parameter ST:M or ST:F on the QEMM386.SYS device line in
  102.  CONFIG.SYS). Though it is usually best to load device drivers
  103.  after QEMM386.SYS, there are some special drivers (like the ones
  104.  that manage some 80386 conversion hardware) that must load before
  105.  QEMM386.SYS.  These drivers may obscure information that QEMM
  106.  needs to enable the Stealth ROM feature. If this is the case,
  107.  QEMM386.SYS will post an error message that reads,
  108.  
  109.  QEMM386: Disabling Stealth ROM because QEMM could not locate the
  110.  ROM handler for INT x
  111.  
  112.  where x is the number of an interrupt handler that QEMM needs to
  113.  manage for the Stealth ROM process to work.
  114.  
  115.  The solution to this problem is to place the line 
  116.  
  117.     DEVICE=C:\QEMM\HOOKROM.SYS
  118.  
  119.  at the beginning of the CONFIG.SYS file, before the driver that
  120.  needs to be loaded before QEMM386.SYS.  HOOKROM will gather the
  121.  necessary information for QEMM386.SYS, so that the special driver
  122.  does not interfere with the Stealth ROM process.
  123.  
  124.  
  125.  LWPFIX: Fixing Problems with LAN WorkPlace
  126.  ------------------------------------------
  127.  
  128.  LWPFIX.COM is a TSR that works around problems with some versions
  129.  of Novell's LAN WorkPlace for DOS. Specifically, some versions of
  130.  Novell's TCPIP.EXE do not properly save and restore the state of
  131.  two of the processor's 32-bit extended registers; this can cause
  132.  malfunctions and crashes when other programs are using these
  133.  registers. By adding the command C:\QEMM\LWPFIX.COM to your
  134.  AUTOEXEC.BAT after TCPIP.EXE is loaded, you ensure that the
  135.  original contents of these registers will be restored after
  136.  TCPIP.EXE finishes using them.
  137.  
  138.  You will need LWPFIX.COM if you are using versions 4.00 or 4.01 of
  139.  LAN WorkPlace for DOS; you may need it with some later versions.
  140.  LWPFIX.COM does no harm even if it is not needed, so it may be
  141.  worth loading LWPFIX.COM if you are experiencing problems with any
  142.  version of LAN WorkPlace for DOS. DESQview/X automatically loads a
  143.  driver that performs the same function as LWPFIX.COM, so
  144.  LWPFIX.COM is only needed to fix problems that occur outside of
  145.  DESQview/X.
  146.  
  147.  
  148.  QWINFIX: Using Microsoft Windows with QEMM
  149.  ------------------------------------------
  150.  
  151.  QWINFIX.COM makes Microsoft Windows 386 enhanced mode compatible
  152.  with QEMM. QWINFIX does this by adding the line
  153.  
  154.  SystemROMBreakPoint=false
  155.  
  156.  to the [386Enh] section of Windows' SYSTEM.INI file. If you have
  157.  Windows installed on your PC at the time you install QEMM, QEMM's
  158.  installation program will run QWINFIX. If you install Windows
  159.  after installing QEMM, you should run QWINFIX. To run QWINFIX:
  160.  
  161.      Switch to Windows' directory (usually \WINDOWS).
  162.  
  163.      Type QWINFIX and press Enter.
  164.  
  165.  
  166.  QEMMREG: Displaying QEMM's Version and Serial Number
  167.  ----------------------------------------------------
  168.  
  169.  QEMMREG.COM displays QEMM's version number and your serial number.
  170.  To use QEMMREG, type
  171.  
  172.     QEMMREG
  173.  
  174.  and press Enter
  175.  
  176.  
  177.  SCANMEM.COM: Checking for Memory Above the 16MB Line
  178.  ----------------------------------------------------
  179.  
  180.  SCANMEM.COM is a program that scans your PC's memory, looking for
  181.  memory that is not reported by the BIOS, and reports a parameter
  182.  you can use to make QEMM see this memory. This program may be
  183.  useful if your system has more than 16 megabytes of memory and you
  184.  cannot access the memory above 16 megabytes after installing QEMM.
  185.  The USERAM:XX:YY parameter to QEMM performs a similar function,
  186.  scanning all of the address range between XX and YY; running
  187.  SCANMEM is not a prerequisite to using USERAM.  However, you can
  188.  use SCANMEM.COM to find the precise ranges of addresses that can
  189.  be specified to USERAM; this may save a couple of moments when you
  190.  boot your machine.
  191.  
  192.  Some systems with more than 16 megabytes of memory do not report
  193.  all of their memory through the appropriate BIOS call (the
  194.  standard method for reporting how much memory is installed in a
  195.  system). On such a system, QEMM will not automatically detect the
  196.  memory above 16 megabytes. Certain Compaq and Dell PCs and PCs
  197.  with older Micronics motherboards (e.g., some Gateways) with more
  198.  than 16 megabytes of memory are the most notable examples. SCANMEM
  199.  tries to locate regions of RAM that QEMM does not detect
  200.  automatically when it loads. If you have a system with more than
  201.  16 megabytes of RAM and you suspect that all your memory is not
  202.  available, follow the steps below:
  203.  
  204.  First, run Manifest to see if the memory is recognized. Type
  205.  
  206.     MFT
  207.  
  208.  and press Enter.
  209.  
  210.  Near the bottom of the Manifest System Overview screen, you will
  211.  see a number for Total Extended Memory (pooled). If you have over
  212.  16 megabytes of RAM and the amount displayed is less than 16384K,
  213.  your system's BIOS is not reporting the memory above 16 megabytes,
  214.  and you should continue with the steps below.
  215.  
  216.  Note: If you are having problems accessing memory above 16
  217.  megabytes on a Dell PC, contact Dell's technical support. They may
  218.  be able to supply you with an updated version of the system BIOS
  219.  that fixes this problem.
  220.  
  221.  You should not run the SCANMEM program when QEMM386.SYS, DOS's
  222.  HIMEM or EMM386, or any other memory manager is loaded. Similarly,
  223.  you should not use any program that uses extended memory without
  224.  the assistance of a memory manager; some disk caches or RAM disks
  225.  may do this.  The ideal environment for running SCANMEM is a
  226.  completely clean boot with no CONFIG.SYS or AUTOEXEC.BAT.
  227.  
  228.  Reboot your PC without any extended memory managers or consumers
  229.  present.  After rebooting, type SCANMEM and press Enter.
  230.  
  231.  SCANMEM will scan your PC's memory, and if it finds a memory
  232.  region that QEMM has not detected, it will post a message listing
  233.  the exact form of the USERAM=xxxxxxxx-yyyyyyyy parameter that you
  234.  should put on the QEMM386.SYS device line in CONFIG.SYS. SCANMEM
  235.  will list an address range in eight-digit hexadecimal format
  236.  (e.g., USERAM=00100000-00206000). When you add the USERAM
  237.  parameter to the QEMM386.SYS device line, use all the digits given
  238.  in the address. This parameter will reclaim the memory; SCANMEM's
  239.  only job is to suggest the appropriate USERAM parameter (for
  240.  information on the USERAM parameter, see Chapter 7).
  241.  
  242.  If SCANMEM lists a USERAM parameter, jot it down, when edit your
  243.  CONFIG.SYS file and add the exact parameter SCANMEM reported to
  244.  the QEMM386.SYS device driver line.
  245.  
  246.  Save your CONFIG.SYS file and reboot.
  247.  
  248.  After rebooting, you should be able to access the memory above 16
  249.  megabytes. You can use Quarterdeck Manifest to verify that the
  250.  memory is recognized (see the first step above).
  251.  
  252.  SCANMEM may post various messages:
  253.  
  254.  Address wrap at xxxxx, where xxxxx is a memory address, means that
  255.  SCANMEM has detected that your PC's address space is smaller than
  256.  the four gigabytes that the 386 processor can address. This
  257.  message is for your information and does not invalidate SCANMEM's
  258.  findings.
  259.  
  260.  NOUSERAM=xxxxx-yyyyy, where xxxxx and yyyyy are memory addresses,
  261.  means that SCANMEM does not detect memory in the address range
  262.  xxxxx-yyyyy, even though your system's BIOS has reported enough
  263.  extended memory to fill these addresses. If you see this message,
  264.  you may wish to use your PC's system setup to reconfigure your
  265.  machine so that the BIOS reports extended memory properly.
  266.  
  267.  Error: Invalid USERAM due to memory cache! means that SCANMEM has
  268.  detected that the USERAM=xxxxx-yyyyy parameter that it last
  269.  printed to the screen is invalid and should not be used. You
  270.  should ignore only the last USERAM message printed to the screen;
  271.  previous USERAM messages are valid. This error may occur if an
  272.  unusual memory cache makes the contents of memory appear to be
  273.  variable.
  274.  
  275.  
  276.  T386.EXE: Displaying the Pop-up Menu on Toshiba Laptops
  277.  -------------------------------------------------------
  278.  
  279.  T386.EXE is a program for Toshiba laptop computers which
  280.  allows the Toshiba pop-up menu to appear when QEMM is enabled.
  281.  T386 works on many Toshiba laptops.
  282.  
  283.  If the computer is in virtual-8086 mode, Toshiba's pop-up menu
  284.  will display only if the expanded memory manager calls itself
  285.  "T386." The computer is always in virtual-8086 mode when
  286.  expanded memory is in use or High RAM has been created.
  287.  Therefore, when QEMM is performing these services you will not
  288.  be able to access the pop-up menu. The T386 program makes QEMM
  289.  appear to be named T386 and allows the menu to work properly.
  290.  To use T386.EXE:
  291.  
  292.  Type
  293.  
  294.     T386
  295.  
  296.  and press Enter
  297.  
  298.  You can load T386.EXE into upper memory by typing LOADHI T386.
  299.  
  300.  You may want to load T386 from your AUTOEXEC.BAT file, so it
  301.  will run whenever you start your PC. We suggest you run
  302.  Optimize after adding this or any other program to
  303.  AUTOEXEC.BAT.
  304.  
  305.  To remove T386 from memory (even if it is loaded into upper
  306.  memory):
  307.  
  308.  Type
  309.  
  310.     T386 R
  311.  
  312.  and press Enter
  313.  
  314.  
  315.  ******************************************************************
  316.  *      Trademarks are property of their respective owners.       *
  317.  *   This and other technical notes may be available in updated   *
  318.  *     forms through Quarterdeck's standard support channels.     *
  319.  *          Copyright (C) 1995 Quarterdeck Corporation            *
  320.  ******************** E N D   O F   F I L E ***********************
  321.  
  322.